from src.broker import start as broker_main
from src.http import start as ota_main
from src.udp import start as udp_main
import asyncio

async def main():
    async with asyncio.TaskGroup() as tg:
        tg.create_task(broker_main())
        tg.create_task(ota_main())
        tg.create_task(udp_main())

if __name__ == "__main__":
    asyncio.run(main())
